public class MyRuleName extends AbstractRule {

    private RuleData ruleData;

    public MyRuleName() {
    }

    public MyRuleName(RuleData data) {
        this.ruleData = data;
    }

    @Override
    public Boolean execute() {
        return ruleData.getName().equals("yuwenrong");
    }
}
